import Http from '@/lib/http';

export function categoryList () {
  return Http.get('/category/getCategory', {}, null, true)
    .then(result => result.children);
}
